/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package salarie;

/**
 *
 * @author Gatoper
 */
public abstract class StaffMember {
        protected String name;
	protected String personalID;
	protected String address;
	protected String phone;
	protected String birthDate;

	public StaffMember (String eName, String eID, String eAddress, String ePhone,
			String eBirthDate) {	
		name = eName;
		personalID = eID;
		address = eAddress;
		phone = ePhone;
		birthDate = eBirthDate;
	}

	public String toString() {
		String result = "Name: " + name + "\n";
		result += "Address: " + address + "\n";
		result += "Phone: " + phone;
		return result;
	}
}
